dojo.declare("MVendorProductCatalogsPg", wm.Page, {
start: function() {
var mainPage = wm.Page.getPage("MobileMainPg");
this.lvMenuItems.filter.setValue("customer.customerId", mainPage.vUserId);
this.lvMenuItems.update();
},
"preferredDevice": "phone",
itemsDojoGridImageUrlFormat: function(inValue, rowId, cellId, cellField, cellObj, rowObj) {
try {
var file = "services/FileUploadDownload.download?method=downloadFile&fileName=" + inValue;
return '<img  style="height: 50px;" src="' + inValue + '" />';
} catch (e) {
console.error('ERROR IN dojoGrid2PicurlFormat: ' + e);
}
},
itemsDojoGridItemIdFormat: function(inValue, rowId, cellId, cellField, cellObj, rowObj) {
var currency = "";
if (rowObj.currency && rowObj.currency !== null) {
currency = rowObj.currency;
}
var display = "<div class='MobileRowTitle'>ItemName: " + rowObj.itemName + "</div>" + "<div class='MobileRow'>ItemDesc: " + rowObj.itemDesc + "</div>" + "<div class='MobileRow'>Base Price:" +currency+ " " + rowObj.baseValue + "</div>" + "</div>" + "<div class='MobileRow'>Total Price:"+currency+ " " + rowObj.price  + "</div>";
var outOfStock = "No";
if (rowObj.outOfStock) {
outOfStock = "Yes";
}
display = display + "<div class='MobileRow'>OutOfStock: " + outOfStock + "</div>";
// display = display + "<div class='MobileRow'>Is Active: " + rowObj.active + "</div>";
return display;
},
calculateFinalPrice: function() {
var itemObj = this.itemsDojoGrid.selectedItem.getItem(this.itemsDojoGrid.getSelectedIndex()).data;
var vatPercent = itemObj.vat;
var eduCess = itemObj.eduCess;
var serviceTax = itemObj.serviceTax;
var serviceCharge = itemObj.serviceCharge;
var tpsPercInc = itemObj.tpsPercentIncl;
var tpsPerExcl = itemObj.tpsPercentExl;
var tpsShareInc = itemObj.tpsShareIncl;
var tpsShareExcl = itemObj.tpsShareExl;
var basePrice = this.priceEditor2.getDataValue();
var finalPrice = 0;
/**  console.error('vatPercent=' + vatPercent);
console.error('serviceTax=' + serviceTax);
console.error('tpsPercInc=' + tpsPercInc);
console.error('tpsPerExcl=' + tpsPerExcl);
console.error('tpsShareInc=' + tpsShareInc);
console.error('tpsShareExcl=' + tpsShareExcl);
console.error('basePrice=' + basePrice); **/
if (vatPercent !== 0) {
finalPrice = finalPrice + ((vatPercent / 100) * basePrice);
if (eduCess !== 0) {
var eduCessPercent = vatPercent / eduCess;
finalPrice = finalPrice + (eduCessPercent / 100) * basePrice;
}
}
if (serviceTax !== 0) {
finalPrice = finalPrice + (serviceTax / 100) * basePrice;
}
if (serviceCharge !== 0) {
finalPrice = finalPrice + (serviceCharge / 100) * basePrice;
}
if (tpsPerExcl !== 0) {
finalPrice = finalPrice + (tpsPerExcl / 100) * basePrice;
}
else if (tpsShareExcl !== 0) {
tpsShareExcl = tpsShareExcl / 1;
finalPrice = finalPrice + tpsShareExcl;
}
basePrice = basePrice / 1;
finalPrice = finalPrice + basePrice; /* */
this.finalPriceEditor.setDataValue(finalPrice);
},
itemsSaveButton1Click: function(inSender) {
this.calculateFinalPrice();
this.itemsLiveForm2.saveDataIfValid();
},
priceEditor2Change: function(inSender, inDisplayValue, inDataValue, inSetByCode) {
this.calculateFinalPrice();
},
itemsCancelButton1Click2: function(inSender) {
//this.itemsDojoGrid.deselectAll();
},
itemsDialog1Close: function(inSender, inWhy) {
this.itemsDojoGrid.deselectAll();
},
_end: 0
});

MVendorProductCatalogsPg.widgets = {
lvMenuItems: ["wm.LiveVariable", {"autoUpdate":false,"orderBy":"asc:itemName","startUpdate":false,"type":"com.servicelivedb.data.Items"}, {}, {
liveView: ["wm.LiveView", {"dataType":"com.servicelivedb.data.Items","view":[
{"caption":"ItemId","sortable":true,"dataIndex":"itemId","type":"java.lang.Integer","displayType":"Number","required":true,"readonly":true,"includeLists":true,"includeForms":true,"order":0,"subType":null},
{"caption":"ItemName","sortable":true,"dataIndex":"itemName","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1,"subType":null},
{"caption":"ItemDesc","sortable":true,"dataIndex":"itemDesc","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":2,"subType":null},
{"caption":"OutOfStock","sortable":true,"dataIndex":"outOfStock","type":"java.lang.Boolean","displayType":"CheckBox","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":3,"subType":null},
{"caption":"Quantity","sortable":true,"dataIndex":"quantity","type":"java.lang.Integer","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":4,"subType":null},
{"caption":"Price","sortable":true,"dataIndex":"price","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":5,"subType":null},
{"caption":"MinQuantity","sortable":true,"dataIndex":"minQuantity","type":"java.lang.Short","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":7,"subType":null},
{"caption":"Unit","sortable":true,"dataIndex":"unit","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":8,"subType":null},
{"caption":"OtherNames","sortable":true,"dataIndex":"otherNames","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":9,"subType":null},
{"caption":"UpdatedBy","sortable":true,"dataIndex":"updatedBy","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":10,"subType":null},
{"caption":"UpdatedDt","sortable":true,"dataIndex":"updatedDt","type":"java.util.Date","displayType":"Date","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":11,"subType":null},
{"caption":"ItemType","sortable":true,"dataIndex":"itemType","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":12,"subType":null},
{"caption":"Brand","sortable":true,"dataIndex":"brand","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":13,"subType":null},
{"caption":"Discount","sortable":true,"dataIndex":"discount","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":14,"subType":null},
{"caption":"VendorPrice","sortable":true,"dataIndex":"vendorPrice","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":15,"subType":null},
{"caption":"ServiceCharge","sortable":true,"dataIndex":"serviceCharge","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":16,"subType":null},
{"caption":"AvailibilityStartDt","sortable":true,"dataIndex":"availibilityStartDt","type":"java.util.Date","displayType":"Date","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":17,"subType":null},
{"caption":"AvailibilityEndDt","sortable":true,"dataIndex":"availibilityEndDt","type":"java.util.Date","displayType":"Date","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":18,"subType":null},
{"caption":"Tax","sortable":true,"dataIndex":"tax","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":19,"subType":null},
{"caption":"Active","sortable":true,"dataIndex":"active","type":"java.lang.Boolean","displayType":"CheckBox","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":20,"subType":null},
{"caption":"ImageUrl","sortable":true,"dataIndex":"imageUrl","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":21,"subType":null},
{"caption":"Currency","sortable":true,"dataIndex":"currency","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":22,"subType":null},
{"caption":"OtherCharges","sortable":true,"dataIndex":"otherCharges","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":22,"subType":null},
{"caption":"DeliveryCharges","sortable":true,"dataIndex":"deliveryCharges","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":23,"subType":null},
{"caption":"TpsShareExl","sortable":true,"dataIndex":"tpsShareExl","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":24,"subType":null},
{"caption":"TpsShareIncl","sortable":true,"dataIndex":"tpsShareIncl","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":25,"subType":null},
{"caption":"TpsPercentExl","sortable":true,"dataIndex":"tpsPercentExl","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":26,"subType":null},
{"caption":"TpsPercentIncl","sortable":true,"dataIndex":"tpsPercentIncl","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":27,"subType":null},
{"caption":"EduCess","sortable":true,"dataIndex":"eduCess","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":28,"subType":null},
{"caption":"ServiceTax","sortable":true,"dataIndex":"serviceTax","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":29,"subType":null},
{"caption":"Vat","sortable":true,"dataIndex":"vat","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":30,"subType":null},
{"caption":"BaseValue","sortable":true,"dataIndex":"baseValue","type":"java.math.BigDecimal","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":31,"subType":null}
]}, {}],
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"[mobileMainPg].vUserId.dataValue","targetProperty":"filter.customer.customerId"}, {}]
}]
}],
itemsDialog1: ["wm.DesignableDialog", {"buttonBarId":"","containerWidgetId":"containerWidget1","desktopHeight":"893px","height":"893px","mobileHeight":"893px","styles":{},"title":"Items","width":"500px"}, {"onClose":"itemsDialog1Close"}, {
containerWidget1: ["wm.Container", {"_classes":{"domNode":["wmdialogcontainer","MainContent"]},"autoScroll":true,"height":"100%","horizontalAlign":"left","padding":"5","verticalAlign":"top","width":"100%"}, {}, {
itemsLiveForm2: ["wm.LiveForm", {"alwaysPopulateEditors":true,"captionAlign":"left","captionSize":"80px","desktopHeight":"185px","enableTouchHeight":true,"fitToContentHeight":true,"height":"230px","horizontalAlign":"left","liveEditing":false,"margin":"4","mobileHeight":"815px","verticalAlign":"top"}, {"onSuccess":"itemsLivePanel1.popupLiveFormSuccess"}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"itemsDojoGrid.selectedItem","targetProperty":"dataSet"}, {}]
}],
itemNameEditor2: ["wm.Text", {"border":"0","caption":"ItemName","captionAlign":"left","captionSize":"80px","changeOnKey":true,"desktopHeight":"26px","emptyValue":"emptyString","formField":"itemName","height":"35px","required":true,"width":"100%"}, {}],
itemNameEditor3: ["wm.Text", {"border":"0","caption":"OtherNames","captionAlign":"left","captionSize":"80px","changeOnKey":true,"desktopHeight":"26px","emptyValue":"emptyString","formField":"otherNames","height":"35px","width":"100%"}, {}],
activeEditor3: ["wm.Checkbox", {"border":"0","caption":"OutOfStock","captionAlign":"left","captionSize":"80px","desktopHeight":"26px","displayValue":false,"formField":"outOfStock","height":"35px","width":"100%"}, {}],
panel2: ["wm.Panel", {"height":"36px","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
priceEditor2: ["wm.Text", {"border":"0","caption":"Base Price","captionAlign":"left","captionSize":"80px","changeOnKey":true,"desktopHeight":"26px","emptyValue":"zero","formField":"baseValue","height":"35px","regExp":"^[0-9]\\d{0,9}(\\.\\d{1,2})?%?$","required":true,"styles":{},"width":"100%"}, {"onchange":"priceEditor2Change"}],
itemNameEditor4: ["wm.Text", {"border":"0","caption":"Currency","captionAlign":"left","captionSize":"0px","changeOnKey":true,"defaultInsert":"Rs","desktopHeight":"26px","emptyValue":"emptyString","formField":"currency","height":"35px","readonly":true,"styles":{},"width":"50px"}, {}]
}],
updatedByEditor2: ["wm.Text", {"border":"0","caption":"UpdatedBy","captionAlign":"left","captionSize":"80px","changeOnKey":true,"desktopHeight":"26px","emptyValue":"emptyString","formField":"updatedBy","height":"35px","showing":false,"width":"100%"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"[mobileMainPg].vUserName.dataValue","targetProperty":"defaultInsert"}, {}]
}]
}],
updatedDtEditor2: ["wm.DateTime", {"border":"0","caption":"UpdatedDt","captionAlign":"left","captionSize":"80px","dateMode":"Date","desktopHeight":"26px","emptyValue":"zero","formField":"updatedDt","height":"35px","showing":false,"width":"100%"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":"new Date()","targetProperty":"dataValue"}, {}]
}]
}],
selectMenu1: ["wm.SelectMenu", {"border":"0","caption":"ItemType","captionAlign":"left","captionSize":"80px","dataField":"dataValue","dataType":"StringData","desktopHeight":"35px","displayField":"dataValue","formField":"itemType","height":"35px","showing":false,"width":"100%"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"app.vItemType","targetProperty":"dataSet"}, {}]
}]
}],
finalPriceEditor: ["wm.Number", {"border":"0","caption":"Price","captionAlign":"left","captionSize":"80px","changeOnKey":true,"desktopHeight":"26px","disabled":true,"emptyValue":"zero","formField":"price","height":"35px","styles":{},"width":"100%"}, {}],
largeTextArea1: ["wm.LargeTextArea", {"border":"0","caption":"Description","captionPosition":"left","captionSize":"80px","desktopHeight":"80px","formField":"itemDesc","height":"150px","mobileHeight":"150px","required":true,"width":"100%"}, {}]
}]
}],
buttonBar1: ["wm.Panel", {"_classes":{"domNode":["dialogfooter"]},"border":"1,0,0,0","desktopHeight":"32px","enableTouchHeight":true,"height":"32px","horizontalAlign":"right","layoutKind":"left-to-right","mobileHeight":"40px","verticalAlign":"top","width":"100%"}, {}, {
itemsSaveButton1: ["wm.Button", {"border":"1","caption":"Save","height":"100%","styles":{}}, {"onclick":"itemsSaveButton1Click"}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"source":"itemsLiveForm2.invalid","targetId":null,"targetProperty":"disabled"}, {}]
}]
}],
itemsCancelButton1: ["wm.Button", {"border":"1","caption":"Cancel","height":"100%"}, {"onclick":"itemsDialog1.hide","onclick1":"itemsLiveForm2.cancelEdit","onclick2":"itemsCancelButton1Click2"}]
}]
}],
loadingVendorCatalog: ["wm.LoadingDialog", {"caption":"Loading catalogue....","captionWidth":"120px","serviceVariableToTrack":["lvMenuItems"]}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"layoutBox1","targetProperty":"widgetToCover"}, {}]
}]
}],
layoutBox1: ["wm.Layout", {"horizontalAlign":"left","styles":{},"verticalAlign":"top"}, {}, {
panel1: ["wm.Panel", {"height":"100%","horizontalAlign":"left","verticalAlign":"top","width":"100%"}, {}, {
itemsLivePanel1: ["wm.LivePanel", {"autoScroll":false,"horizontalAlign":"left","verticalAlign":"top"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"source":"itemsDialog1","targetId":null,"targetProperty":"dialog"}, {}],
wire1: ["wm.Wire", {"source":"itemsLiveForm2","targetId":null,"targetProperty":"liveForm"}, {}],
wire2: ["wm.Wire", {"source":"itemsDojoGrid","targetId":null,"targetProperty":"dataGrid"}, {}],
wire3: ["wm.Wire", {"source":"itemsSaveButton1","targetId":null,"targetProperty":"saveButton"}, {}]
}],
itemsDojoGrid: ["wm.DojoGrid", {"columns":[
{"show":true,"field":"itemId","title":"Items","width":"100%","align":"left","formatFunc":"itemsDojoGridItemIdFormat","editorProps":{"restrictValues":true},"mobileColumn":true},
{"show":false,"field":"itemName","title":"ItemName","width":"100%","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":false,"field":"itemDesc","title":"ItemDesc","width":"100%","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":false,"field":"outOfStock","title":"OutOfStock","width":"100%","align":"left","formatFunc":"","editorProps":{"restrictValues":true},"mobileColumn":false},
{"show":false,"field":"quantity","title":"Quantity","width":"80px","align":"right","formatFunc":"","mobileColumn":false},
{"show":false,"field":"price","title":"Price","width":"80px","align":"right","formatFunc":"","mobileColumn":false},
{"show":false,"field":"minQuantity","title":"MinQuantity","width":"80px","align":"right","formatFunc":"","mobileColumn":false},
{"show":false,"field":"unit","title":"Unit","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"otherNames","title":"OtherNames","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"updatedBy","title":"UpdatedBy","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"updatedDt","title":"UpdatedDt","width":"80px","align":"left","formatFunc":"wm_date_formatter","mobileColumn":false},
{"show":false,"field":"itemType","title":"ItemType","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"brand","title":"Brand","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"discount","title":"Discount","width":"80px","align":"right","formatFunc":"","mobileColumn":false},
{"show":false,"field":"vendorPrice","title":"VendorPrice","width":"80px","align":"right","formatFunc":"","mobileColumn":false},
{"show":false,"field":"serviceCharge","title":"ServiceCharge","width":"80px","align":"right","formatFunc":"","mobileColumn":false},
{"show":false,"field":"availibilityStartDt","title":"AvailibilityStartDt","width":"80px","align":"left","formatFunc":"wm_date_formatter","mobileColumn":false},
{"show":false,"field":"availibilityEndDt","title":"AvailibilityEndDt","width":"80px","align":"left","formatFunc":"wm_date_formatter","mobileColumn":false},
{"show":false,"field":"tax","title":"Tax","width":"80px","align":"right","formatFunc":"","mobileColumn":false},
{"show":false,"field":"active","title":"Active","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"imageUrl","title":"ImageUrl","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"currency","title":"Currency","width":"100%","align":"left","formatFunc":"","mobileColumn":false},
{"show":false,"field":"PHONE COLUMN","title":"Items","width":"100%","align":"left","editorProps":{"restrictValues":true},"expression":" \"<div class='MobileRowTitle'>ItemName: \" + ${itemName} + \"</div>\"\n+ \"<div class='MobileRow'>ItemDesc: \" + ${itemDesc} + \"</div>\"\n+ \"<div class='MobileRow'>Price: \" + ${price} + \"</div>\"\n+ \"<div class='MobileRow'>OutOfStock: \" + ${outOfStock} + \"</div>\"","isCustomField":true,"mobileColumn":false},
{"show":false,"field":"otherCharges","title":"OtherCharges","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"deliveryCharges","title":"DeliveryCharges","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"tpsShareExl","title":"TpsShareExl","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"tpsShareIncl","title":"TpsShareIncl","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"tpsPercentExl","title":"TpsPercentExl","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"tpsPercentIncl","title":"TpsPercentIncl","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"eduCess","title":"EduCess","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"serviceTax","title":"ServiceTax","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"vat","title":"Vat","width":"80px","displayType":"Number","align":"right","formatFunc":""},
{"show":false,"field":"baseValue","title":"BaseValue","width":"80px","displayType":"Number","align":"right","formatFunc":""}
],"dsType":"com.servicelivedb.data.Items","height":"100%","localizationStructure":{},"minHeight":0,"minWidth":0,"styles":{}}, {"onCellDblClick":"itemsLivePanel1.popupLivePanelEdit","onClick":"itemsLivePanel1.popupLivePanelEdit","onSelect":"itemsLivePanel1.popupLivePanelEdit"}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"lvMenuItems","targetProperty":"dataSet"}, {}]
}]
}],
itemsGridButtonPanel: ["wm.Panel", {"desktopHeight":"32px","enableTouchHeight":true,"height":"40px","horizontalAlign":"right","layoutKind":"left-to-right","mobileHeight":"40px","showing":false,"verticalAlign":"top","width":"100%"}, {}, {
itemsUpdateButton: ["wm.Button", {"border":"1","caption":"Update","height":"40px"}, {"onclick":"itemsLivePanel1.popupLivePanelEdit"}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"source":"itemsDojoGrid.emptySelection","targetId":null,"targetProperty":"disabled"}, {}]
}]
}]
}]
}]
}]
}]
};

MVendorProductCatalogsPg.prototype._cssText = '';
MVendorProductCatalogsPg.prototype._htmlText = '';